import Layout from '@/layout'
export default {
  path: '/employees',
  component: Layout,
  children: [
    {
      path: '',
      name: 'employees',
      component: () => import('@/views/employees/employees.vue'),
      meta: { title: '员工', icon: 'people' }
    },
    {
      path: 'import',
      name: 'import',
      component: () => import('@/views/employees/import.vue'),
      meta: { title: '导入 Excle', icon: 'people' },
      hidden: true
    },
    {
      path: 'detail/:id',
      name: 'detail',
      component: () => import('@/views/employees/detail.vue'),
      meta: { title: '员工详情', icon: 'people' },
      hidden: true
    }
    // {
    //   path: 'detail',
    //   name: 'detail',
    //   component: () => import('@/views/employees/detail.vue'),
    //   meta: { title: '员工详情', icon: 'people' },
    //   hidden: true
    // }
  ]
}
